#include <iostream>
using namespace std;
int main(void)
{
int B,A;
cout<<"A=" ;
cin>>A;
cout<< "B=" ;
cin>>B;
if (A>B) {
A=A+B;
B=A-B;
A=A-B;
}
cout<<"Otvet:" << endl;
cout<< A<< endl;
cout << B<<endl;

return 0;
}
